import request from '@/utils/request'

// 查询历峰店铺列表
export function listWorkOrderStoreRichemont(query) {
  return request({
    url: '/system/workOrderStoreRichemont/list',
    method: 'get',
    params: query
  })
}

// 查询历峰店铺详细
export function getWorkOrderStoreRichemont(storeId) {
  return request({
    url: '/system/workOrderStoreRichemont/' + storeId,
    method: 'get'
  })
}

// 新增历峰店铺
export function addWorkOrderStoreRichemont(data) {
  return request({
    url: '/system/workOrderStoreRichemont',
    method: 'post',
    data: data
  })
}

// 修改历峰店铺
export function updateWorkOrderStoreRichemont(data) {
  return request({
    url: '/system/workOrderStoreRichemont',
    method: 'put',
    data: data
  })
}

// 删除历峰店铺
export function delWorkOrderStoreRichemont(storeId) {
  return request({
    url: '/system/workOrderStoreRichemont/' + storeId,
    method: 'delete'
  })
}
